<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<c:set var="uri" value="${pageContext.request.contextPath}" />
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>攻略-详情页</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/layui/css/layui.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/global.css">
            <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/icheck/minimal/red.css">
                <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/common/page/myPagination.css?t=4" />
                    </head>
                    <body class="layui-layout-body" style="overflow:scroll">
                    <style type="text/css">
                    .btnStyle{
                        margin-left:8px;
                        margin-top:8px
                    }
                    .loadingModel {
                        position: absolute;
                        top: 0;
                        left: 0;
                        background-color: rgba(9, 9, 9, 0.63);
                        width: 100%;
                        height: 100%;
                        z-index: 1000;
                    }
                    
                    
                    .loading-content {
                        width: 50%;
                        text-align: center;
                        background: #ffffff;
                        border-radius: 6px;
                        line-height: 30px;
                        z-index: 10001;
                    }
                    </style>
                    
                    <fieldset class="layui-elem-field">
                    <legend>攻略-详情页</legend>
                    <div class="layui-field-box">
                    <table  class="layui-table">
                    <thead>
                    <tr>
                    <th colspan="2" scope="col">攻略-详情页</th>
                    </tr>
                    </thead>
                    <tbody>
                    
                    <tr>
                    <th width="30%">攻略标题</th>
                    <th width="30%">${detail.glInfo.title}</th>
                        </tr>
                        <tr>
                        <th width="30%">攻略文章</th>
                        <th width="30%">${detail.glInfo.content}</th>
                            </tr>
                            <tr>
                            <th width="30%">所属板块</th>
                            <th width="30%" id=glTypeStr>${detail.glTypeStr}</th>
                                </tr>
                                <tr>
                                <th width="30%">发布用户</th>
                                <th width="30%" id=userIdStr>${detail.userIdStr}</th>
                                    </tr>
                                    <tr>
                                    <th width="30%">观看级别</th>
                                    <th width="30%"><c:choose>
                                    <c:when test="${detail.glInfo.glLevel=='1'}">
                                        <span class="layui-badge layui-bg-blue"  style="width:80px;">${detail.glLevelStr}</span>
                                            </c:when>
                                            <c:when test="${detail.glInfo.glLevel=='2'}">
                                                <span class="layui-badge layui-bg-orange"  style="width:80px;">${detail.glLevelStr}</span>
                                                    </c:when>
                                                    <c:otherwise>
                                                    ${detail.glLevelStr}
                                                        </c:otherwise>
                                                        </c:choose>
                                                        </th>
                                                        </tr>
                                                        <tr>
                                                        <th width="30%">审核状态</th>
                                                        <th width="30%"><c:choose>
                                                        <c:when test="${detail.glInfo.checkStatus=='1'}">
                                                            <span class="layui-badge layui-bg-orange"  style="width:80px;">${detail.checkStatusStr}</span>
                                                                </c:when>
                                                                <c:when test="${detail.glInfo.checkStatus=='2'}">
                                                                    <span class="layui-badge layui-bg-blue"  style="width:80px;">${detail.checkStatusStr}</span>
                                                                        </c:when>
                                                                        <c:when test="${detail.glInfo.checkStatus=='3'}">
                                                                            <span class="layui-badge"  style="width:80px;">${detail.checkStatusStr}</span>
                                                                                </c:when>
                                                                                <c:otherwise>
                                                                                ${detail.checkStatusStr}
                                                                                    </c:otherwise>
                                                                                    </c:choose>
                                                                                    </th>
                                                                                    </tr>
                                                                                    <tr>
                                                                                    <th width="30%">审核备注</th>
                                                                                    <th width="30%">${detail.glInfo.checkRemark}</th>
                                                                                        </tr>
                                                                                        <tr>
                                                                                        <th width="30%">创建时间</th>
                                                                                        <th width="30%">${detail.glInfo.createTime}</th>
                                                                                            </tr>
                                                                                            
                                                                                            
                                                                                            </tbody>
                                                                                            </table>
                                                                                            
                                                                                            
                                                                                            <hr>
                                                                                            <div class="layui-form-item">
                                                                                            <div class="layui-input-block">
                                                                                            <button  class="layui-btn layui-btn-primary"  onclick="javascript:history.back(-1);" >返回</button>
                                                                                            </div>
                                                                                            </div>
                                                                                            
                                                                                            </div>
                                                                                            </fieldset>
                                                                                            
                                                                                            <script type="text/javascript" src="${pageContext.request.contextPath}/static/common/jquery-1.11.1.min.js"></script>
                                                                                                <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui/layui.js"></script>
                                                                                                    <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/icheck/icheck.js"></script>
                                                                                                        <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layuiutil.js"></script>
                                                                                                            <script type="text/javascript" src="${pageContext.request.contextPath}/static/common/utils/listutils.js?v=#随机码#"></script>
                                                                                                                
                                                                                                                <script type="text/javascript">
                                                                                                                
                                                                                                                $(function(){
                                                                                                                    
                                                                                                                })
                                                                                                                </script>
                                                                                                                </body>
                                                                                                                </html>
